package com.lottery.material.entity.portaluser;

import com.lottery.material.entity.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Description：收藏信息表
 * Created by 朱正磊 on 2019-04-09 10:28
 */
@Entity
@Data
@EqualsAndHashCode(callSuper = false)
@Table(name = "material_collect_info")
public class CollectInfo extends BaseEntity {

    private static final long serialVersionUID = -2252300637762585243L;

    @Column(columnDefinition = "varchar(50) not null comment '用户id'")
    private String userId;

    @Column(columnDefinition = "int(11) not null comment '文章id'")
    private Integer articleId;

}
